Fatal error: Uncaught exception 'Exception' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and location LIKE '%"host":"redken"%' ORDER BY name ASC' at line 1
Error No: 1064
SELECT * FROM events where closed = 0 and type != 'S' and status = '1' and date_end >= '2024-12-21 00:00:00' AND ( ) and location LIKE '%"host":"redken"%' ORDER BY name ASC' in /var/www/b2b/system/library/db/mysqli.php on line 47 Exception: Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and location LIKE '%"host":"redken"%' ORDER BY name ASC' at line 1
Error No: 1064
SELECT * FROM events where closed = 0 and type != 'S' and status = '1' and date_end >= '2024-12-21 00:00:00' AND ( ) and location LIKE '%"host":"redken"%' ORDER BY name ASC in /var/www/b2b/system/library/db/mysqli.php on line 47 Call Stack: 0.0001 235592 1. {main}() /var/www/b2b/index.php:0 0.0051 353128 2. start() /var/www/b2b/index.php:45 0.0051 354712 3. require_once('/var/www/b2b/system/framework.php') /var/www/b2b/system/startup.php:130 0.0167 539768 4. Front->dispatch() /var/www/b2b/system/framework.php:116 0.0267 967792 5. Front->execute() /var/www/b2b/system/engine/front.php:28 0.0268 967792 6. Action->execute() /var/www/b2b/system/engine/front.php:33 0.0268 972608 7. call_user_func_array:{/var/www/b2b/system/engine/action.php:51}() /var/www/b2b/system/engine/action.php:51 0.0268 973040 8. ControllerStartupRouter->index() /var/www/b2b/system/engine/action.php:51 0.0270 974040 9. Action->execute() /var/www/b2b/catalog/controller/startup/router.php:36 0.0272 979664 10. call_user_func_array:{/var/www/b2b/system/engine/action.php:51}() /var/www/b2b/system/engine/action.php:51 0.0272 981200 11. ControllerStoreEducation->index() /var/www/b2b/system/engine/action.php:51 0.0295 1104864 12. Proxy->getEvents() /var/www/b2b/catalog/controller/store/education.php:34 0.0295 1105216 13. Proxy->__call() /var/www/b2b/catalog/controller/store/education.php:34 0.0296 1106360 14. call_user_func_array:{/var/www/b2b/system/engine/proxy.php:25}() /var/www/b2b/system/engine/proxy.php:25 0.0296 1107560 15. Loader->{closure:/var/www/b2b/system/engine/loader.php:149-193}() /var/www/b2b/system/engine/proxy.php:25 0.0297 1109136 16. call_user_func_array:{/var/www/b2b/system/engine/loader.php:180}() /var/www/b2b/system/engine/loader.php:180 0.0298 1109608 17. ModelEducationEvents->getEvents() /var/www/b2b/system/engine/loader.php:180 0.0303 1113168 18. DB->query() /var/www/b2b/catalog/model/education/events.php:652 0.0303 1113304 19. DB\MySQLi->query() /var/www/b2b/system/library/db.php:16